import service from '@/utils/request'

// @Tags FirstOrderProcessingNote
// @Summary 创建首办单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingNote true "创建首办单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /firstOrderProcessingNote/createFirstOrderProcessingNote [post]
export const createFirstOrderProcessingNote = (data) => {
  return service({
    url: '/firstOrderProcessingNote/createFirstOrderProcessingNote',
    method: 'post',
    data
  })
}

// @Tags FirstOrderProcessingNote
// @Summary 删除首办单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingNote true "删除首办单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingNote/deleteFirstOrderProcessingNote [delete]
export const deleteFirstOrderProcessingNote = (params) => {
  return service({
    url: '/firstOrderProcessingNote/deleteFirstOrderProcessingNote',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingNote
// @Summary 批量删除首办单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除首办单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingNote/deleteFirstOrderProcessingNote [delete]
export const deleteFirstOrderProcessingNoteByIds = (params) => {
  return service({
    url: '/firstOrderProcessingNote/deleteFirstOrderProcessingNoteByIds',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingNote
// @Summary 更新首办单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingNote true "更新首办单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /firstOrderProcessingNote/updateFirstOrderProcessingNote [put]
export const updateFirstOrderProcessingNote = (data) => {
  return service({
    url: '/firstOrderProcessingNote/updateFirstOrderProcessingNote',
    method: 'put',
    data
  })
}

// @Tags FirstOrderProcessingNote
// @Summary 用id查询首办单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FirstOrderProcessingNote true "用id查询首办单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /firstOrderProcessingNote/findFirstOrderProcessingNote [get]
export const findFirstOrderProcessingNote = (params) => {
  return service({
    url: '/firstOrderProcessingNote/findFirstOrderProcessingNote',
    method: 'get',
    params
  })
}

// @Tags FirstOrderProcessingNote
// @Summary 分页获取首办单-历史修改备注列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取首办单-历史修改备注列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /firstOrderProcessingNote/getFirstOrderProcessingNoteList [get]
export const getFirstOrderProcessingNoteList = (params) => {
  return service({
    url: '/firstOrderProcessingNote/getFirstOrderProcessingNoteList',
    method: 'get',
    params
  })
}
